package net.sourceforge.krama.tag;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.BodyTagSupport;
import javax.servlet.jsp.tagext.Tag;

import net.sourceforge.krama.introspection.TIntrospection;
import net.sourceforge.krama.util.TUtil;


public class TCSS extends BodyTagSupport {

	public int doStartTag() throws JspException {

		try {
			pageContext.getOut().println("<style type='text/css' media='all'>"+
					TLib.css+
			"</style>");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return Tag.SKIP_BODY;
	}

	public int doAfterBody() throws JspException {

		return Tag.SKIP_BODY;
	}
}
